package com.woniu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan(basePackages = "com.woniu.mealsService.mapper")
@EnableSwagger2
@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.woniu.user.client")
public class XinanMealsApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(XinanMealsApplication.class, args);
    }
}
